﻿using DDDDemoABP1.Payments;
using Volo.Abp;
using Volo.Abp.MongoDB;

namespace DDDDemoABP1.MongoDB;

public static class DDDDemoABP1MongoDbContextExtensions
{
    public static void ConfigureDDDDemoABP1(
        this IMongoModelBuilder builder)
    {
        Check.NotNull(builder, nameof(builder));

        builder.Entity<Account>(b =>
        {
            b.CollectionName = DDDDemoABP1DbProperties.DbTablePrefix + "Accounts";
        });
    }
}
